﻿@model IEnumerable<Leikjavefurinn.ViewModels.ScoreboardVM>

@{
    ViewBag.Title = "Index";
}

<h2>STIGATAFLA</h2>

<table>

@foreach (var item in Model)
{
    <tr>
        <td>
            @item.Users.UserName

        </td>
        <td>
            @item.Scoreboards.Score

        </td>
        <td>
            @item.Scoreboards.Rate
        </td>
    </tr>
}

</table>
